/**
 * 
 */
package engineer.seniordesign.cynogriffin;

import android.content.Context;
import android.graphics.Bitmap;
import android.widget.ImageButton;

/**
 * @author bweintra
 *
 */
public class MyImageButton extends ImageButton {
	
	public MyImageButton(Context context) {
		super(context);
	}
	
	public void setBitmap(final Bitmap bm) {
	
		post(new Runnable(){
			@Override
			public void run() {
				setImageBitmap(bm);
			}
		});
	}
	
}
